//
//  BiImagePool.h
//  CodoonBikeApp
//
//  Created by ChenBin on 14-3-26.
//  Copyright (c) 2014年 Nahan Cop. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BiImagePool : NSObject
{
    NSMutableDictionary * _imageCache;
}

+(BiImagePool*)shareInstance;

/**
 *  清空缓存
 */
- (void)clearImageCache;
/**
 *  加载图片并存入缓存
 */
- (UIImage*)loadImageWithCache:(NSString*)fileName;
/**
 *  加载图片不存缓存
 */
- (UIImage*)loadImageWithoutCache:(NSString*)fileName;

/**
 *  加载下载的图片
 */
- (UIImage*)loadDownloadImageWithCache:(NSString*)fileName;

@end
